/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.GUI.archive;

import ac.settings.dataModel;
import ac.settings.files;
import ac.settings.sqlQuerys;
import ac.uitls.data;
import ac.uitls.propertiesOperation;
import java.awt.Component;
import javax.swing.JPanel;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;

/**
 *
 * @author ismail
 */
public class jpn_sup extends ac.ui.controls.PCLPanel implements dataModel, files {

    /**
     * Creates new form NewJPanel
     */
    ac.engin.archive.clients c = new ac.engin.archive.clients();
    propertiesOperation po = new propertiesOperation();
    String myQuery = "";
    data d = new data();

    public jpn_sup() {

        initComponents();
        jcom_category.setRequired(true);
        updateuLabeles();

        /////////////
        jtab_data.setTitleAt(3, po.getWord("label.deletefiles"));
        c.deleteTabel = jtab_indexDelete1;

        jtab_data.addChangeListener(new ChangeListener() {
            public void stateChanged(ChangeEvent e) {

                if (jtab_data.getSelectedIndex() == 3) {

                    c.indexdelete();
                }
            }
        });
/////////////////////////

        updateTemplat();
        myQuery = " (`type`='s' or  `type`='a' )";
        c.Where = myQuery;
        c.indexUpdate();

        onLoad();
        updateULlabels();

    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jrg_clinet_type = new javax.swing.ButtonGroup();
        jtab_data = new ac.ui.controls.PCLTabs();
        pCLPanel2 = new ac.ui.controls.PCLPanel();
        index_panel = new ac.ui.controls.PCLPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        jtb_index = new ac.ui.controls.PCLTable();
        pCLToolbar1 = new ac.ui.controls.PCLToolbar();
        jbt_frist = new ac.ui.controls.PCLButton();
        jbt_prev = new ac.ui.controls.PCLButton();
        jlb_indexinfo = new ac.ui.controls.PCLLabel();
        jbt_next = new ac.ui.controls.PCLButton();
        jbt_last = new ac.ui.controls.PCLButton();
        jScrollPane4 = new javax.swing.JScrollPane();
        jtr_index = new ac.ui.controls.PCLTree();
        data_panel = new ac.ui.controls.PCLPanel();
        pCLToolbar2 = new ac.ui.controls.PCLToolbar();
        jbt_add = new ac.ui.controls.PCLButton();
        jbt_edit = new ac.ui.controls.PCLButton();
        jbt_delete = new ac.ui.controls.PCLButton();
        jbt_cancel = new ac.ui.controls.PCLButton();
        jbt_print = new ac.ui.controls.PCLButton();
        pCLLabel5 = new ac.ui.controls.PCLLabel();
        jlb_type = new javax.swing.JLabel();
        pCLLabel7 = new ac.ui.controls.PCLLabel();
        jtxt_name = new ac.ui.controls.PCLTextField();
        jcom_category = new ac.ui.controls.PCLGetdata();
        pCLLabel11 = new ac.ui.controls.PCLLabel();
        jtxt_code = new ac.ui.controls.PCLCode();
        pCLTabs1 = new ac.ui.controls.PCLTabs();
        pCLPanel4 = new ac.ui.controls.PCLPanel();
        jtxt_phone = new ac.ui.controls.PCLTextField();
        pCLLabel8 = new ac.ui.controls.PCLLabel();
        jtxt_fax = new ac.ui.controls.PCLTextField();
        pCLLabel12 = new ac.ui.controls.PCLLabel();
        jtxt_email = new ac.ui.controls.PCLTextField();
        pCLLabel13 = new ac.ui.controls.PCLLabel();
        jtxt_mobile = new ac.ui.controls.PCLTextField();
        pCLLabel6 = new ac.ui.controls.PCLLabel();
        pCLLabel10 = new ac.ui.controls.PCLLabel();
        jScrollPane2 = new javax.swing.JScrollPane();
        jta_addrss = new ac.ui.controls.PCLTextarea();
        pCLPanel6 = new ac.ui.controls.PCLPanel();
        pCLLabel20 = new ac.ui.controls.PCLLabel();
        pCLLabel14 = new ac.ui.controls.PCLLabel();
        pCLLabel15 = new ac.ui.controls.PCLLabel();
        jlb_blance = new ac.ui.controls.PCLLabel();
        jcom_sellPricType = new ac.ui.controls.PCLcomboboxAdd();
        jcom_baypricType = new ac.ui.controls.PCLcomboboxAdd();
        jsp_BalanceLimit = new ac.ui.controls.PCLMoney();
        pCLLabel17 = new ac.ui.controls.PCLLabel();
        pCLLabel16 = new ac.ui.controls.PCLLabel();
        jr_cus = new javax.swing.JRadioButton();
        jr_cus_sup = new javax.swing.JRadioButton();
        pCLPanel1 = new ac.ui.controls.PCLPanel();
        jScrollPane5 = new javax.swing.JScrollPane();
        jtb_search = new ac.ui.controls.PCLTable();
        jPanel2 = new javax.swing.JPanel();
        jScrollPane3 = new javax.swing.JScrollPane();
        jtr_search = new ac.ui.controls.PCLTree();
        jcom_search = new ac.ui.controls.PCLcomboBox();
        jtxt_search = new ac.ui.controls.PCLTextField();
        pCLButton1 = new ac.ui.controls.PCLButton();
        pCLLabel1 = new ac.ui.controls.PCLLabel();
        pCLLabel2 = new ac.ui.controls.PCLLabel();
        pCLToolbar8 = new ac.ui.controls.PCLToolbar();
        jbt_edit1 = new ac.ui.controls.PCLButton();
        jbt_delete1 = new ac.ui.controls.PCLButton();
        jbt_print1 = new ac.ui.controls.PCLButton();
        jPanel5 = new javax.swing.JPanel();
        jp_retportNamesproduct = new ac.ui.controls.PCLPanel();
        jcom_produest = new ac.ui.controls.PCLGetdata();
        pCLLabel18 = new ac.ui.controls.PCLLabel();
        jp_retportTaype = new ac.ui.controls.PCLPanel();
        jScrollPane8 = new javax.swing.JScrollPane();
        jtr_rep_type = new ac.ui.controls.PCLTree();
        jp_retportcon = new ac.ui.controls.PCLPanel();
        jd_rep_view = new ac.ui.controls.PCLButton();
        jd_rep_to = new ac.ui.controls.PCLDate();
        pCLLabel22 = new ac.ui.controls.PCLLabel();
        jd_rep_from = new ac.ui.controls.PCLDate();
        pCLLabel21 = new ac.ui.controls.PCLLabel();
        jlb_repTitle = new ac.ui.controls.PCLLabel();
        jp_retportNamesClient = new ac.ui.controls.PCLPanel();
        jcom_client = new ac.ui.controls.PCLGetdata();
        pCLLabel19 = new ac.ui.controls.PCLLabel();
        jp_retportNamesproductCat = new ac.ui.controls.PCLPanel();
        jcom_category1 = new ac.ui.controls.PCLGetdata();
        pCLLabel9 = new ac.ui.controls.PCLLabel();
        jp_retportNamestreasury = new ac.ui.controls.PCLPanel();
        jcom_treasury = new ac.ui.controls.PCLGetdataFull();
        pCLLabel24 = new ac.ui.controls.PCLLabel();
        pCLPanel5 = new ac.ui.controls.PCLPanel();
        jScrollPane12 = new javax.swing.JScrollPane();
        jtab_indexDelete1 = new ac.ui.controls.PCLTable();
        pCLToolbar9 = new ac.ui.controls.PCLToolbar();
        jbt_edit2 = new ac.ui.controls.PCLButton();
        jbt_delete2 = new ac.ui.controls.PCLButton();
        jbt_print2 = new ac.ui.controls.PCLButton();
        jbt_print3 = new ac.ui.controls.PCLButton();

        setType("clients");

        jtab_data.setTabPlacement(javax.swing.JTabbedPane.RIGHT);

        index_panel.setPreferredSize(new java.awt.Dimension(200, 282));

        jtb_index.setType("index");
        jtb_index.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jtb_indexMouseClicked(evt);
            }
        });
        jtb_index.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                jtb_indexKeyPressed(evt);
            }
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jtb_indexKeyReleased(evt);
            }
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jtb_indexKeyTyped(evt);
            }
        });
        jScrollPane1.setViewportView(jtb_index);

        pCLToolbar1.setRollover(true);

        jbt_frist.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ac/images/last.png"))); // NOI18N
        jbt_frist.setFocusable(false);
        jbt_frist.setHorizontalTextPosition(0);
        jbt_frist.setMargin(new java.awt.Insets(5, 5, 5, 5));
        jbt_frist.setVerticalTextPosition(3);
        jbt_frist.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_fristActionPerformed(evt);
            }
        });
        pCLToolbar1.add(jbt_frist);

        jbt_prev.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ac/images/next.png"))); // NOI18N
        jbt_prev.setFocusable(false);
        jbt_prev.setHorizontalTextPosition(0);
        jbt_prev.setMargin(new java.awt.Insets(5, 5, 5, 5));
        jbt_prev.setPreferredSize(new java.awt.Dimension(20, 20));
        jbt_prev.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jbt_prevMouseClicked(evt);
            }
        });
        jbt_prev.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_prevActionPerformed(evt);
            }
        });
        pCLToolbar1.add(jbt_prev);

        jlb_indexinfo.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jlb_indexinfo.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jlb_indexinfo.setText("/");
        jlb_indexinfo.setMaximumSize(new java.awt.Dimension(70, 25));
        jlb_indexinfo.setType("rowData");
        pCLToolbar1.add(jlb_indexinfo);

        jbt_next.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ac/images/prev.png"))); // NOI18N
        jbt_next.setFocusable(false);
        jbt_next.setHorizontalTextPosition(0);
        jbt_next.setMargin(new java.awt.Insets(5, 5, 5, 5));
        jbt_next.setVerticalTextPosition(3);
        jbt_next.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_nextActionPerformed(evt);
            }
        });
        pCLToolbar1.add(jbt_next);

        jbt_last.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ac/images/frist.png"))); // NOI18N
        jbt_last.setFocusable(false);
        jbt_last.setHorizontalTextPosition(0);
        jbt_last.setMargin(new java.awt.Insets(5, 5, 5, 5));
        jbt_last.setVerticalTextPosition(3);
        jbt_last.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_lastActionPerformed(evt);
            }
        });
        pCLToolbar1.add(jbt_last);

        jtr_index.setAddtype("clientsCat");
        javax.swing.tree.DefaultMutableTreeNode treeNode1 = new javax.swing.tree.DefaultMutableTreeNode("root");
        jtr_index.setModel(new javax.swing.tree.DefaultTreeModel(treeNode1));
        jtr_index.addTreeSelectionListener(new javax.swing.event.TreeSelectionListener() {
            public void valueChanged(javax.swing.event.TreeSelectionEvent evt) {
                jtr_indexValueChanged(evt);
            }
        });
        jScrollPane4.setViewportView(jtr_index);

        javax.swing.GroupLayout index_panelLayout = new javax.swing.GroupLayout(index_panel);
        index_panel.setLayout(index_panelLayout);
        index_panelLayout.setHorizontalGroup(
            index_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(index_panelLayout.createSequentialGroup()
                .addGroup(index_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 260, Short.MAX_VALUE)
                    .addComponent(jScrollPane4, javax.swing.GroupLayout.DEFAULT_SIZE, 260, Short.MAX_VALUE)
                    .addComponent(pCLToolbar1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(106, 106, 106))
        );
        index_panelLayout.setVerticalGroup(
            index_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(index_panelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 154, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(pCLToolbar1, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(20, 20, 20))
        );

        data_panel.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        pCLToolbar2.setRollover(true);

        jbt_add.setType("add");
        jbt_add.setFocusable(false);
        jbt_add.setText("jbt_add");
        jbt_add.setVerticalTextPosition(3);
        jbt_add.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_addActionPerformed(evt);
            }
        });
        pCLToolbar2.add(jbt_add);

        jbt_edit.setType("edit");
        jbt_edit.setFocusable(false);
        jbt_edit.setText("jbt_edit");
        jbt_edit.setVerticalTextPosition(3);
        jbt_edit.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_editActionPerformed(evt);
            }
        });
        pCLToolbar2.add(jbt_edit);

        jbt_delete.setType("delete");
        jbt_delete.setFocusable(false);
        jbt_delete.setText("jbt_delete");
        jbt_delete.setVerticalTextPosition(3);
        jbt_delete.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_deleteActionPerformed(evt);
            }
        });
        pCLToolbar2.add(jbt_delete);

        jbt_cancel.setType("delete");
        jbt_cancel.setFocusable(false);
        jbt_cancel.setText("jbt_cancel");
        jbt_cancel.setVerticalTextPosition(3);
        jbt_cancel.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_cancelActionPerformed(evt);
            }
        });
        pCLToolbar2.add(jbt_cancel);

        jbt_print.setType("print");
        jbt_print.setFocusable(false);
        jbt_print.setText("jbt_print");
        jbt_print.setVerticalTextPosition(3);
        jbt_print.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_printActionPerformed(evt);
            }
        });
        pCLToolbar2.add(jbt_print);

        pCLLabel5.setText("jlb_name");

        pCLLabel7.setText("jlb_category");

        jtxt_name.setRequired(true);
        jtxt_name.setBackground(new java.awt.Color(255, 255, 204));

        jcom_category.setAddtype("clientsCat");
        jcom_category.setBackground(new java.awt.Color(255, 204, 204));
        jcom_category.setCategory(true);
        jcom_category.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jcom_categoryActionPerformed(evt);
            }
        });

        pCLLabel11.setText("jlb_code");

        jtxt_code.setAuto(true);
        jtxt_code.setTable("clients_data");
        jtxt_code.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtxt_codeActionPerformed(evt);
            }
        });

        pCLPanel4.setBorder(javax.swing.BorderFactory.createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.light")));

        pCLLabel8.setText("jlb_phone");

        pCLLabel12.setText("jlb_fax");

        pCLLabel13.setText("jlb_email");

        pCLLabel6.setText("jlb_mobile");

        pCLLabel10.setText("lb_address");

        jta_addrss.setColumns(20);
        jta_addrss.setRows(5);
        jScrollPane2.setViewportView(jta_addrss);

        javax.swing.GroupLayout pCLPanel4Layout = new javax.swing.GroupLayout(pCLPanel4);
        pCLPanel4.setLayout(pCLPanel4Layout);
        pCLPanel4Layout.setHorizontalGroup(
            pCLPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pCLPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pCLPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pCLPanel4Layout.createSequentialGroup()
                        .addComponent(pCLLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 93, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jtxt_phone, javax.swing.GroupLayout.DEFAULT_SIZE, 320, Short.MAX_VALUE))
                    .addGroup(pCLPanel4Layout.createSequentialGroup()
                        .addComponent(pCLLabel12, javax.swing.GroupLayout.PREFERRED_SIZE, 93, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jtxt_fax, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(pCLPanel4Layout.createSequentialGroup()
                        .addGroup(pCLPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(pCLLabel13, javax.swing.GroupLayout.PREFERRED_SIZE, 93, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(pCLLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 93, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(pCLPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jtxt_mobile, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jtxt_email, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                    .addGroup(pCLPanel4Layout.createSequentialGroup()
                        .addComponent(pCLLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, 93, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
            .addComponent(jScrollPane2, javax.swing.GroupLayout.Alignment.TRAILING)
        );
        pCLPanel4Layout.setVerticalGroup(
            pCLPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pCLPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pCLPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jtxt_phone, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pCLLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pCLPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jtxt_fax, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pCLLabel12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pCLPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jtxt_email, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pCLLabel13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pCLPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jtxt_mobile, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pCLLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(pCLLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane2)
                .addContainerGap())
        );

        pCLTabs1.addTab("tab1", pCLPanel4);

        pCLPanel6.setBorder(javax.swing.BorderFactory.createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.light")));

        pCLLabel20.setText("jlb_balance");

        pCLLabel14.setText("jlb_sellPricType");

        pCLLabel15.setText("jlb_bayPricType");

        jlb_blance.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        jlb_blance.setText("0");
        jlb_blance.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jlb_blance.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jlb_blanceMouseClicked(evt);
            }
        });

        jcom_sellPricType.setAddtype("sellPricType");

        jcom_baypricType.setAddtype("bayPricType");

        jsp_BalanceLimit.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jsp_BalanceLimitStateChanged(evt);
            }
        });

        pCLLabel17.setText("jlb_BalanceLimit");

        javax.swing.GroupLayout pCLPanel6Layout = new javax.swing.GroupLayout(pCLPanel6);
        pCLPanel6.setLayout(pCLPanel6Layout);
        pCLPanel6Layout.setHorizontalGroup(
            pCLPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pCLPanel6Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pCLPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(pCLLabel15, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(pCLLabel20, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(pCLLabel14, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 78, Short.MAX_VALUE)
                    .addComponent(pCLLabel17, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pCLPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jcom_sellPricType, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jlb_blance, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jsp_BalanceLimit, javax.swing.GroupLayout.DEFAULT_SIZE, 335, Short.MAX_VALUE)
                    .addComponent(jcom_baypricType, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        pCLPanel6Layout.setVerticalGroup(
            pCLPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pCLPanel6Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pCLPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(pCLLabel20, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jlb_blance, javax.swing.GroupLayout.PREFERRED_SIZE, 18, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pCLPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(pCLLabel14, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcom_sellPricType, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pCLPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jcom_baypricType, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pCLLabel15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pCLPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jsp_BalanceLimit, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pCLLabel17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(148, Short.MAX_VALUE))
        );

        pCLTabs1.addTab("tab2", pCLPanel6);

        pCLLabel16.setText("jlb_type");

        jrg_clinet_type.add(jr_cus);
        jr_cus.setSelected(true);
        jr_cus.setText("jr_sup");
        jr_cus.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jr_cusMouseClicked(evt);
            }
        });
        jr_cus.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jr_cusActionPerformed(evt);
            }
        });

        jrg_clinet_type.add(jr_cus_sup);
        jr_cus_sup.setText("jr_cus&sup");
        jr_cus_sup.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jr_cus_supActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout data_panelLayout = new javax.swing.GroupLayout(data_panel);
        data_panel.setLayout(data_panelLayout);
        data_panelLayout.setHorizontalGroup(
            data_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(data_panelLayout.createSequentialGroup()
                .addComponent(pCLToolbar2, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                .addContainerGap())
            .addGroup(data_panelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(data_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(data_panelLayout.createSequentialGroup()
                        .addGap(97, 97, 97)
                        .addComponent(jtxt_name, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jlb_type, javax.swing.GroupLayout.PREFERRED_SIZE, 1, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(2, 2, 2))
                    .addGroup(data_panelLayout.createSequentialGroup()
                        .addGroup(data_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, data_panelLayout.createSequentialGroup()
                                .addComponent(pCLLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 93, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jcom_category, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, data_panelLayout.createSequentialGroup()
                                .addComponent(pCLLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 93, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(0, 0, Short.MAX_VALUE))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, data_panelLayout.createSequentialGroup()
                                .addComponent(pCLLabel16, javax.swing.GroupLayout.PREFERRED_SIZE, 93, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jr_cus, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(pCLLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, 47, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(data_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jtxt_code, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addGroup(data_panelLayout.createSequentialGroup()
                                .addComponent(jr_cus_sup, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(0, 0, Short.MAX_VALUE)))
                        .addContainerGap())
                    .addComponent(pCLTabs1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)))
        );
        data_panelLayout.setVerticalGroup(
            data_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(data_panelLayout.createSequentialGroup()
                .addGap(26, 26, 26)
                .addGroup(data_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jtxt_name, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pCLLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(data_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(data_panelLayout.createSequentialGroup()
                        .addGap(21, 21, 21)
                        .addGroup(data_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(pCLLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jtxt_code, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, data_panelLayout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(data_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jcom_category, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(pCLLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                .addGroup(data_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(data_panelLayout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jlb_type, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(216, 216, 216))
                    .addGroup(data_panelLayout.createSequentialGroup()
                        .addGroup(data_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(data_panelLayout.createSequentialGroup()
                                .addGap(16, 16, 16)
                                .addGroup(data_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(pCLLabel16, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(jr_cus)))
                            .addGroup(data_panelLayout.createSequentialGroup()
                                .addGap(18, 18, 18)
                                .addComponent(jr_cus_sup)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(pCLTabs1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(pCLToolbar2, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))))
        );

        javax.swing.GroupLayout pCLPanel2Layout = new javax.swing.GroupLayout(pCLPanel2);
        pCLPanel2.setLayout(pCLPanel2Layout);
        pCLPanel2Layout.setHorizontalGroup(
            pCLPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pCLPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(index_panel, javax.swing.GroupLayout.PREFERRED_SIZE, 270, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(data_panel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        pCLPanel2Layout.setVerticalGroup(
            pCLPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pCLPanel2Layout.createSequentialGroup()
                .addComponent(index_panel, javax.swing.GroupLayout.DEFAULT_SIZE, 448, Short.MAX_VALUE)
                .addContainerGap())
            .addComponent(data_panel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        jtab_data.addTab("jtab_home", pCLPanel2);

        jtb_search.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {

            }
        ));
        jtb_search.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jtb_searchMouseClicked(evt);
            }
        });
        jScrollPane5.setViewportView(jtb_search);

        jtr_search.setAddtype("clientsCat");
        jtr_search.addTreeSelectionListener(new javax.swing.event.TreeSelectionListener() {
            public void valueChanged(javax.swing.event.TreeSelectionEvent evt) {
                jtr_searchValueChanged(evt);
            }
        });
        jScrollPane3.setViewportView(jtr_search);

        pCLButton1.setText("jbt_search");
        pCLButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                pCLButton1ActionPerformed(evt);
            }
        });

        pCLLabel1.setText("jlb_searchIn");

        pCLLabel2.setText("jlb_searchWord");

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane3)
                    .addComponent(pCLLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jcom_search, javax.swing.GroupLayout.PREFERRED_SIZE, 228, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pCLLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jtxt_search, javax.swing.GroupLayout.PREFERRED_SIZE, 228, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pCLButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 228, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 271, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(pCLLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jcom_search, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(pCLLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jtxt_search, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(28, 28, 28)
                .addComponent(pCLButton1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        pCLToolbar8.setRollover(true);

        jbt_edit1.setType("edit");
        jbt_edit1.setFocusable(false);
        jbt_edit1.setText("jbt_edit");
        jbt_edit1.setVerticalTextPosition(3);
        jbt_edit1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_edit1ActionPerformed(evt);
            }
        });
        pCLToolbar8.add(jbt_edit1);

        jbt_delete1.setType("delete");
        jbt_delete1.setFocusable(false);
        jbt_delete1.setText("jbt_delete");
        jbt_delete1.setVerticalTextPosition(3);
        jbt_delete1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_delete1ActionPerformed(evt);
            }
        });
        pCLToolbar8.add(jbt_delete1);

        jbt_print1.setType("print");
        jbt_print1.setFocusable(false);
        jbt_print1.setText("jbt_print");
        jbt_print1.setVerticalTextPosition(3);
        jbt_print1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_print1ActionPerformed(evt);
            }
        });
        pCLToolbar8.add(jbt_print1);

        javax.swing.GroupLayout pCLPanel1Layout = new javax.swing.GroupLayout(pCLPanel1);
        pCLPanel1.setLayout(pCLPanel1Layout);
        pCLPanel1Layout.setHorizontalGroup(
            pCLPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pCLPanel1Layout.createSequentialGroup()
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pCLPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 494, Short.MAX_VALUE)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pCLPanel1Layout.createSequentialGroup()
                        .addComponent(pCLToolbar8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addContainerGap())))
        );
        pCLPanel1Layout.setVerticalGroup(
            pCLPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(pCLPanel1Layout.createSequentialGroup()
                .addComponent(pCLToolbar8, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 419, Short.MAX_VALUE))
        );

        jtab_data.addTab("jtab_index", pCLPanel1);

        jp_retportNamesproduct.setBorder(javax.swing.BorderFactory.createTitledBorder("aaaaa"));

        jcom_produest.setAddtype("products");
        jcom_produest.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jcom_produestActionPerformed(evt);
            }
        });
        jcom_produest.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jcom_produestMouseClicked(evt);
            }
        });

        pCLLabel18.setText("jlb_product");

        javax.swing.GroupLayout jp_retportNamesproductLayout = new javax.swing.GroupLayout(jp_retportNamesproduct);
        jp_retportNamesproduct.setLayout(jp_retportNamesproductLayout);
        jp_retportNamesproductLayout.setHorizontalGroup(
            jp_retportNamesproductLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jp_retportNamesproductLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(pCLLabel18, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
            .addComponent(jcom_produest, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        jp_retportNamesproductLayout.setVerticalGroup(
            jp_retportNamesproductLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jp_retportNamesproductLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(pCLLabel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jcom_produest, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jp_retportTaype.setBorder(javax.swing.BorderFactory.createTitledBorder("aaaaa"));
        jp_retportTaype.setPreferredSize(new java.awt.Dimension(200, 282));

        jtr_rep_type.setAddtype("clinet_reportes");
        treeNode1 = new javax.swing.tree.DefaultMutableTreeNode("root");
        jtr_rep_type.setModel(new javax.swing.tree.DefaultTreeModel(treeNode1));
        jtr_rep_type.addTreeSelectionListener(new javax.swing.event.TreeSelectionListener() {
            public void valueChanged(javax.swing.event.TreeSelectionEvent evt) {
                jtr_rep_typeValueChanged(evt);
            }
        });
        jScrollPane8.setViewportView(jtr_rep_type);

        javax.swing.GroupLayout jp_retportTaypeLayout = new javax.swing.GroupLayout(jp_retportTaype);
        jp_retportTaype.setLayout(jp_retportTaypeLayout);
        jp_retportTaypeLayout.setHorizontalGroup(
            jp_retportTaypeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane8, javax.swing.GroupLayout.DEFAULT_SIZE, 278, Short.MAX_VALUE)
        );
        jp_retportTaypeLayout.setVerticalGroup(
            jp_retportTaypeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jp_retportTaypeLayout.createSequentialGroup()
                .addComponent(jScrollPane8)
                .addContainerGap())
        );

        jp_retportcon.setBorder(javax.swing.BorderFactory.createTitledBorder("aaaaa"));

        jd_rep_view.setType("viewReport");
        jd_rep_view.setText("jbt_viewReport");
        jd_rep_view.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jd_rep_viewActionPerformed(evt);
            }
        });

        pCLLabel22.setText("jlb_To");

        pCLLabel21.setText("jlb_From");

        javax.swing.GroupLayout jp_retportconLayout = new javax.swing.GroupLayout(jp_retportcon);
        jp_retportcon.setLayout(jp_retportconLayout);
        jp_retportconLayout.setHorizontalGroup(
            jp_retportconLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jd_rep_view, javax.swing.GroupLayout.DEFAULT_SIZE, 214, Short.MAX_VALUE)
            .addComponent(jd_rep_to, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jd_rep_from, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(jp_retportconLayout.createSequentialGroup()
                .addComponent(pCLLabel21, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
            .addGroup(jp_retportconLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(pCLLabel22, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jp_retportconLayout.setVerticalGroup(
            jp_retportconLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jp_retportconLayout.createSequentialGroup()
                .addGap(17, 17, 17)
                .addComponent(pCLLabel21, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jd_rep_from, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(pCLLabel22, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jd_rep_to, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(62, 62, 62)
                .addComponent(jd_rep_view, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGap(235, 235, 235))
        );

        jlb_repTitle.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jlb_repTitle.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jlb_repTitle.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        jlb_repTitle.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);

        jp_retportNamesClient.setBorder(javax.swing.BorderFactory.createTitledBorder("aaaaa"));

        jcom_client.setAddtype("clients");
        jcom_client.setToolTipText("");
        jcom_client.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jcom_clientActionPerformed(evt);
            }
        });

        pCLLabel19.setText("jlb_client");

        javax.swing.GroupLayout jp_retportNamesClientLayout = new javax.swing.GroupLayout(jp_retportNamesClient);
        jp_retportNamesClient.setLayout(jp_retportNamesClientLayout);
        jp_retportNamesClientLayout.setHorizontalGroup(
            jp_retportNamesClientLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jp_retportNamesClientLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(pCLLabel19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addComponent(jcom_client, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        jp_retportNamesClientLayout.setVerticalGroup(
            jp_retportNamesClientLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jp_retportNamesClientLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(pCLLabel19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jcom_client, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jp_retportNamesproductCat.setBorder(javax.swing.BorderFactory.createTitledBorder("aaaaa"));

        jcom_category1.setAddtype("clientsCat");
        jcom_category1.setBackground(new java.awt.Color(255, 204, 204));
        jcom_category1.setCategory(true);
        jcom_category1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jcom_category1ActionPerformed(evt);
            }
        });

        pCLLabel9.setText("jlb_category");

        javax.swing.GroupLayout jp_retportNamesproductCatLayout = new javax.swing.GroupLayout(jp_retportNamesproductCat);
        jp_retportNamesproductCat.setLayout(jp_retportNamesproductCatLayout);
        jp_retportNamesproductCatLayout.setHorizontalGroup(
            jp_retportNamesproductCatLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(pCLLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jcom_category1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        jp_retportNamesproductCatLayout.setVerticalGroup(
            jp_retportNamesproductCatLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jp_retportNamesproductCatLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(pCLLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(11, 11, 11)
                .addComponent(jcom_category1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jp_retportNamestreasury.setBorder(javax.swing.BorderFactory.createTitledBorder("aaaaa"));

        jcom_treasury.setAddtype("treasuryType");
        jcom_treasury.setCategory(true);
        jcom_treasury.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jcom_treasuryActionPerformed(evt);
            }
        });

        pCLLabel24.setText("jlb_treasury");

        javax.swing.GroupLayout jp_retportNamestreasuryLayout = new javax.swing.GroupLayout(jp_retportNamestreasury);
        jp_retportNamestreasury.setLayout(jp_retportNamestreasuryLayout);
        jp_retportNamestreasuryLayout.setHorizontalGroup(
            jp_retportNamestreasuryLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(pCLLabel24, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jp_retportNamestreasuryLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jcom_treasury, javax.swing.GroupLayout.DEFAULT_SIZE, 174, Short.MAX_VALUE)
                .addContainerGap())
        );
        jp_retportNamestreasuryLayout.setVerticalGroup(
            jp_retportNamestreasuryLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jp_retportNamestreasuryLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(pCLLabel24, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jcom_treasury, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel5Layout.createSequentialGroup()
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addComponent(jp_retportTaype, javax.swing.GroupLayout.DEFAULT_SIZE, 290, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jp_retportNamesClient, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jp_retportNamesproduct, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jp_retportNamesproductCat, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jp_retportNamestreasury, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jp_retportcon, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addComponent(jlb_repTitle, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jlb_repTitle, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jp_retportTaype, javax.swing.GroupLayout.DEFAULT_SIZE, 467, Short.MAX_VALUE)
                    .addComponent(jp_retportcon, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addGap(5, 5, 5)
                        .addComponent(jp_retportNamesproductCat, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jp_retportNamesproduct, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jp_retportNamesClient, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jp_retportNamestreasury, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addContainerGap())))
        );

        jtab_data.addTab("tab3", jPanel5);

        jtab_indexDelete1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {

            }
        ));
        jtab_indexDelete1.setType("index");
        jtab_indexDelete1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jtab_indexDelete1MouseClicked(evt);
            }
        });
        jtab_indexDelete1.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
            public void propertyChange(java.beans.PropertyChangeEvent evt) {
                jtab_indexDelete1PropertyChange(evt);
            }
        });
        jtab_indexDelete1.addInputMethodListener(new java.awt.event.InputMethodListener() {
            public void caretPositionChanged(java.awt.event.InputMethodEvent evt) {
                jtab_indexDelete1CaretPositionChanged(evt);
            }
            public void inputMethodTextChanged(java.awt.event.InputMethodEvent evt) {
            }
        });
        jtab_indexDelete1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                jtab_indexDelete1KeyPressed(evt);
            }
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jtab_indexDelete1KeyReleased(evt);
            }
            public void keyTyped(java.awt.event.KeyEvent evt) {
                jtab_indexDelete1KeyTyped(evt);
            }
        });
        jtab_indexDelete1.addVetoableChangeListener(new java.beans.VetoableChangeListener() {
            public void vetoableChange(java.beans.PropertyChangeEvent evt)throws java.beans.PropertyVetoException {
                jtab_indexDelete1VetoableChange(evt);
            }
        });
        jScrollPane12.setViewportView(jtab_indexDelete1);

        pCLToolbar9.setRollover(true);

        jbt_edit2.setType("remove");
        jbt_edit2.setFocusable(false);
        jbt_edit2.setText("jbt_remove");
        jbt_edit2.setVerticalTextPosition(3);
        jbt_edit2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_edit2ActionPerformed(evt);
            }
        });
        pCLToolbar9.add(jbt_edit2);

        jbt_delete2.setType("removeAll");
        jbt_delete2.setFocusable(false);
        jbt_delete2.setText("jbt_removeAll");
        jbt_delete2.setVerticalTextPosition(3);
        jbt_delete2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_delete2ActionPerformed(evt);
            }
        });
        pCLToolbar9.add(jbt_delete2);

        jbt_print2.setType("restore");
        jbt_print2.setFocusable(false);
        jbt_print2.setText("jbt_restore");
        jbt_print2.setVerticalTextPosition(3);
        jbt_print2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_print2ActionPerformed(evt);
            }
        });
        pCLToolbar9.add(jbt_print2);

        jbt_print3.setType("restoreAll");
        jbt_print3.setFocusable(false);
        jbt_print3.setText("jbt_restoreAll");
        jbt_print3.setVerticalTextPosition(3);
        jbt_print3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbt_print3ActionPerformed(evt);
            }
        });
        pCLToolbar9.add(jbt_print3);

        javax.swing.GroupLayout pCLPanel5Layout = new javax.swing.GroupLayout(pCLPanel5);
        pCLPanel5.setLayout(pCLPanel5Layout);
        pCLPanel5Layout.setHorizontalGroup(
            pCLPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane12, javax.swing.GroupLayout.DEFAULT_SIZE, 748, Short.MAX_VALUE)
            .addComponent(pCLToolbar9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        pCLPanel5Layout.setVerticalGroup(
            pCLPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pCLPanel5Layout.createSequentialGroup()
                .addComponent(pCLToolbar9, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane12, javax.swing.GroupLayout.DEFAULT_SIZE, 414, Short.MAX_VALUE))
        );

        jtab_data.addTab("tab4", pCLPanel5);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jtab_data, javax.swing.GroupLayout.PREFERRED_SIZE, 820, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jtab_data, javax.swing.GroupLayout.PREFERRED_SIZE, 464, Short.MAX_VALUE)
                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents

    //<editor-fold defaultstate="collapsed" desc="My Code">
    void updateULlabels() {
       

    }

    void updateTemplat() {

        //<editor-fold defaultstate="collapsed" desc="Update Templat compenets">
        c.panels = new JPanel[]{data_panel};

        c.index = jtb_index;
        c.serachTabel = jtb_search;
        c.ActionsButtons.put("add", jbt_add);
        /* p.ActionsButtons.put("cancel", jbt_cancel);*/
        c.ActionsButtons.put("edit", jbt_edit);
        c.ActionsButtons.put("delete", jbt_delete);
//</editor-fold>

        c.dataComponents = new Component[]{jtxt_name, jtxt_code, jta_addrss, jcom_sellPricType, jcom_baypricType, jtxt_mobile,
            jcom_category, jtxt_phone, jsp_BalanceLimit, jtxt_email};

        c.dataSaveFields = new String[]{"name", "code", "address", "pric_sell_Type", "pric_bay_type", "mobilephone",
            "cat_id", "phone", "balancelimit", "email", "type"};

        c.dataViewAS = new String[]{"id_hide", "_maxWidth", "_midWidth", "_midWidth", "_midWidth", "_midWidth", "_midWidth", "_midWidth", "_midWidth", "_midWidth", "_midWidth", "clientType_"};

        c.TabelString = TABLE_CLIENTS_DATA;

        c.indexField = "name";
        c.indexTitle = po.getWord("label.name");

        ac.uitls.data d = new ac.uitls.data();
        ac.ui.utils.comBoxFills(jcom_search, c.dataSaveFields, d.updateArrayLang(c.dataSaveFields));

        c.EnablePanels(false);
    }

    void updateuLabeles() {
        pCLTabs1.setTitleAt(0, po.getWord("label.definfos"));
        pCLTabs1.setTitleAt(1, po.getWord("label.otherinfos"));

        jtab_data.setTitleAt(0, po.getWord("label.home"));
        jtab_data.setTitleAt(1, po.getWord("label.thisSearch"));
        jtab_data.setTitleAt(0, po.getWord("label.home"));
        jtab_data.setTitleAt(2, po.getWord("label.threportes"));
        jp_retportTaype.setBorder(javax.swing.BorderFactory.createTitledBorder(po.getWord("label.reptype")));
        jp_retportcon.setBorder(javax.swing.BorderFactory.createTitledBorder(po.getWord("label.repoptions")));

        jp_retportTaype.setBorder(javax.swing.BorderFactory.createTitledBorder(po.getWord("label.reptype")));

        jp_retportNamesproduct.setBorder(javax.swing.BorderFactory.createTitledBorder(po.getWord("label.choseProductName")));
        jp_retportNamesClient.setBorder(javax.swing.BorderFactory.createTitledBorder(po.getWord("label.choseClientName")));
        jp_retportNamesproductCat.setBorder(javax.swing.BorderFactory.createTitledBorder(po.getWord("label.retportNamesClinteCat")));
        jp_retportcon.setBorder(javax.swing.BorderFactory.createTitledBorder(po.getWord("label.repoptions")));
        jp_retportNamestreasury.setBorder(javax.swing.BorderFactory.createTitledBorder(po.getWord("label.retportNamesTreasury")));

    }

    void updateTypeViw() {

        String type = c.getRow("" + c.IndexID)[2];

        if (type != null) {
            if (type.equalsIgnoreCase("c")) {
                //    jr_sup.setSelected(false);
                jr_cus_sup.setSelected(false);
                jr_cus.setSelected(true);

            } else if (type.equalsIgnoreCase("s")) {
                jr_cus.setSelected(false);
                jr_cus_sup.setSelected(false);

                //  jr_sup.setSelected(true);
            } else if (type.equalsIgnoreCase("a")) {
                //  jr_sup.setSelected(false);
                jr_cus.setSelected(false);

                jr_cus_sup.setSelected(true);
            }
        }
    }

    String updateType() {
        String r = "s";
        if (jrg_clinet_type.getSelection().equals(jr_cus.getModel())) {

            r = "s";
        } else if (jrg_clinet_type.getSelection().equals(jr_cus_sup.getModel())) {
            r = "a";
        }
        return r;
    }
//</editor-fold>

    private void jbt_cancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_cancelActionPerformed
        // TODO add your handling code here:
        jlb_indexinfo.setText(c.setcancel(false, true));

    }//GEN-LAST:event_jbt_cancelActionPerformed

    private void jbt_deleteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_deleteActionPerformed

        jlb_indexinfo.setText(c.setdelete(true, true, true));
    }//GEN-LAST:event_jbt_deleteActionPerformed

    private void jbt_editActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_editActionPerformed
        c.dataSaveValues = ac.uitls.data.addValueToArray(ac.ui.utils.getDataFromComss(c.dataComponents), 10, updateType());

        jlb_indexinfo.setText(c.setedit(true, true, true));
    }//GEN-LAST:event_jbt_editActionPerformed

    private void jbt_addActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_addActionPerformed

        // updateType() 
        c.dataSaveValues = ac.uitls.data.addValueToArray(ac.ui.utils.getDataFromComss(c.dataComponents), 10, updateType());

        jlb_indexinfo.setText(c.setnew(true, true, true));

    }//GEN-LAST:event_jbt_addActionPerformed

    private void jtr_indexValueChanged(javax.swing.event.TreeSelectionEvent evt) {//GEN-FIRST:event_jtr_indexValueChanged

        String catid = jtr_index.getValue();
        c.Where = myQuery;
        if (!catid.equals("0")) {

            c.Where += " and `cat_id`='" + jtr_index.getValue() + "'";
        } else {
            c.Where += "";
        }

        c.indexUpdate();

        jlb_indexinfo.setText(c.FrameDataupdate("frist"));
        updateTypeViw();

    }//GEN-LAST:event_jtr_indexValueChanged

    private void jbt_lastActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_lastActionPerformed
        jlb_indexinfo.setText(c.FrameDataupdate("last"));
        updateTypeViw();
        ac.GUI.index.updateCinfo("" + c.IndexID, true);
        jlb_blance.setText("" + c.getbalance("" + c.IndexID));
    }//GEN-LAST:event_jbt_lastActionPerformed

    private void jbt_nextActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_nextActionPerformed

        jlb_indexinfo.setText(c.FrameDataupdate("next"));
        updateTypeViw();
        ac.GUI.index.updateCinfo("" + c.IndexID, true);
        jlb_blance.setText("" + c.getbalance("" + c.IndexID));
    }//GEN-LAST:event_jbt_nextActionPerformed

    private void jbt_prevActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_prevActionPerformed
        jlb_indexinfo.setText(c.FrameDataupdate("perv"));
        updateTypeViw();
        ac.GUI.index.updateCinfo("" + c.IndexID, true);
        jlb_blance.setText("" + c.getbalance("" + c.IndexID));
    }//GEN-LAST:event_jbt_prevActionPerformed

    private void jbt_prevMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jbt_prevMouseClicked
    }//GEN-LAST:event_jbt_prevMouseClicked

    private void jbt_fristActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_fristActionPerformed
        jlb_indexinfo.setText(c.FrameDataupdate("frist"));
        updateTypeViw();
        ac.GUI.index.updateCinfo("" + c.IndexID, true);
        jlb_blance.setText("" + c.getbalance("" + c.IndexID));
    }//GEN-LAST:event_jbt_fristActionPerformed

    private void jtb_indexKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jtb_indexKeyReleased
        jlb_indexinfo.setText(c.FrameDataupdate());
        updateTypeViw();
        ac.GUI.index.updateCinfo("" + c.IndexID, true);
        jlb_blance.setText("" + c.getbalance("" + c.IndexID));
    }//GEN-LAST:event_jtb_indexKeyReleased

    private void jtb_indexKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jtb_indexKeyPressed
        jlb_indexinfo.setText(c.getkeyPressed(evt));
    }//GEN-LAST:event_jtb_indexKeyPressed

    private void jtb_indexKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jtb_indexKeyTyped
    }//GEN-LAST:event_jtb_indexKeyTyped

    private void jtb_indexMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jtb_indexMouseClicked
        jlb_indexinfo.setText(c.FrameDataupdate());
        updateTypeViw();

        ac.GUI.index.updateCinfo("" + c.IndexID, true);
        jlb_blance.setText("" + c.getbalance("" + c.IndexID));

    }//GEN-LAST:event_jtb_indexMouseClicked

    private void jr_cusMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jr_cusMouseClicked
        // TODO add your handling code here:
    }//GEN-LAST:event_jr_cusMouseClicked

    private void jr_cus_supActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jr_cus_supActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jr_cus_supActionPerformed

    private void jtxt_codeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtxt_codeActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jtxt_codeActionPerformed

    private void jr_cusActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jr_cusActionPerformed
    }//GEN-LAST:event_jr_cusActionPerformed

    private void jbt_printActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_printActionPerformed

        c.setPrint(REPORT_clinet_file_print, sqlQuerys.SQL_ClineteFile + c.IndexID);
    }//GEN-LAST:event_jbt_printActionPerformed

    void dosearch() {

        String where = "";

        String seword = jtxt_search.getText();

        String cat = jtr_search.getValue();
        c.Where = myQuery;
        if (!cat.equals("") && !cat.equals("0") && cat != null) {
            where += " and `cat_id`='" + cat + "'  ";
        }

        if (!seword.equals("")) {

            where += " and `" + ac.ui.utils.comBoxGetValue(jcom_search) + "`like '%" + jtxt_search.getText() + "%'  ";
        }

        c.Where += where + "   ";

        c.indexsearch();
        c.indexUpdate();

    }


    private void pCLButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_pCLButton1ActionPerformed
        dosearch();
    }//GEN-LAST:event_pCLButton1ActionPerformed

    private void jtr_searchValueChanged(javax.swing.event.TreeSelectionEvent evt) {//GEN-FIRST:event_jtr_searchValueChanged
        // TODO add your handling code here:
        //  p.indexUpdate();
    }//GEN-LAST:event_jtr_searchValueChanged

    private void jtb_searchMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jtb_searchMouseClicked


    }//GEN-LAST:event_jtb_searchMouseClicked

    private void jbt_edit1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_edit1ActionPerformed
        jtab_data.setSelectedIndex(0);
        c.FrameDataUpdateFromSearch();
    }//GEN-LAST:event_jbt_edit1ActionPerformed

    private void jbt_delete1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_delete1ActionPerformed
        data d = new data();

        c.IndexID = Integer.parseInt(jtb_search.getValue());

        jlb_indexinfo.setText(c.setdelete(true, true, true));
        dosearch();
    }//GEN-LAST:event_jbt_delete1ActionPerformed

    private void jbt_print1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_print1ActionPerformed
        data d = new data();

        c.IndexID = Integer.parseInt(d.IndexGetValue(c.serachTabel));

        c.setPrint(REPORT_clinet_file_print, sqlQuerys.SQL_ClineteFile
                + c.IndexID);
    }//GEN-LAST:event_jbt_print1ActionPerformed

    private void jcom_categoryActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcom_categoryActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jcom_categoryActionPerformed

    private void jtab_indexDelete1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jtab_indexDelete1MouseClicked
        // TODO add your handling code here:
    }//GEN-LAST:event_jtab_indexDelete1MouseClicked

    private void jtab_indexDelete1PropertyChange(java.beans.PropertyChangeEvent evt) {//GEN-FIRST:event_jtab_indexDelete1PropertyChange
        // TODO add your handling code here:
    }//GEN-LAST:event_jtab_indexDelete1PropertyChange

    private void jtab_indexDelete1CaretPositionChanged(java.awt.event.InputMethodEvent evt) {//GEN-FIRST:event_jtab_indexDelete1CaretPositionChanged
        System.out.println("Tab=" + jtab_data.getSelectedIndex());
    }//GEN-LAST:event_jtab_indexDelete1CaretPositionChanged

    private void jtab_indexDelete1KeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jtab_indexDelete1KeyPressed
        // TODO add your handling code here:
    }//GEN-LAST:event_jtab_indexDelete1KeyPressed

    private void jtab_indexDelete1KeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jtab_indexDelete1KeyReleased
        // TODO add your handling code here:
    }//GEN-LAST:event_jtab_indexDelete1KeyReleased

    private void jtab_indexDelete1KeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jtab_indexDelete1KeyTyped
        // TODO add your handling code here:
    }//GEN-LAST:event_jtab_indexDelete1KeyTyped

    private void jtab_indexDelete1VetoableChange(java.beans.PropertyChangeEvent evt)throws java.beans.PropertyVetoException {//GEN-FIRST:event_jtab_indexDelete1VetoableChange

    }//GEN-LAST:event_jtab_indexDelete1VetoableChange

    private void jbt_edit2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_edit2ActionPerformed
        String myid = d.IndexGetValue(c.deleteTabel);
        if (c.setRemove(Integer.parseInt(myid)) > 0) {
            c.removebalance(myid);
        };
        c.indexdelete();
    }//GEN-LAST:event_jbt_edit2ActionPerformed

    private void jbt_delete2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_delete2ActionPerformed

        c.removeAll();
        c.indexdelete();


    }//GEN-LAST:event_jbt_delete2ActionPerformed

    private void jbt_print2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_print2ActionPerformed
        c.setRestore(Integer.parseInt(d.IndexGetValue(c.deleteTabel)));
        c.indexdelete();
    }//GEN-LAST:event_jbt_print2ActionPerformed

    private void jbt_print3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbt_print3ActionPerformed
        c.setRestoreAll();
        c.indexdelete();
    }//GEN-LAST:event_jbt_print3ActionPerformed

    private void jcom_produestActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcom_produestActionPerformed

    }//GEN-LAST:event_jcom_produestActionPerformed

    private void jcom_produestMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jcom_produestMouseClicked

    }//GEN-LAST:event_jcom_produestMouseClicked
    boolean showRepProduct = false;
    boolean showRepClient = false;
    boolean showRepClintetCat = false;
    boolean showRepTreasury = false;

    void updaterepPnales() {

        jp_retportNamesproduct.setVisible(false);
        jp_retportNamesClient.setVisible(false);
        jp_retportNamesproductCat.setVisible(false);
        jp_retportNamestreasury.setVisible(false);

        if (showRepProduct) {
            jp_retportNamesproduct.setVisible(true);
        }

        if (showRepClient) {
            jp_retportNamesClient.setVisible(true);
        }
        if (showRepClintetCat) {
            jp_retportNamesproductCat.setVisible(true);
        }
        if (showRepTreasury) {
            jp_retportNamestreasury.setVisible(true);
        }

        showRepProduct = false;
        showRepClient = false;
        showRepClintetCat = false;
        showRepTreasury = false;
    }
    private void jtr_rep_typeValueChanged(javax.swing.event.TreeSelectionEvent evt) {//GEN-FIRST:event_jtr_rep_typeValueChanged
        updaterepPnales();
        jlb_repTitle.setText(jtr_rep_type.getText());

        String rtype = jtr_rep_type.getValue();

        /*
        
         
         Edit	Delete	128	ملف عميل	 	clinet_reportes	127	0	0
         Edit	Delete	129	تصنيف عميل	 	clinet_reportes	127	0	0
         Edit	Delete	131	مبيعات لعميل عن  فترة	 	clinet_reportes	130	0	0
         -	Edit	Delete	132	مبيعات صنف لعميل	 	clinet_reportes	130	0	0
         Edit	Delete	134	مشتريات مورد عن فترة	 	clinet_reportes	133	0	0
         Edit	Delete	135	مشتريات مورد  لصنف	 	clinet_reportes	133	0	0
         
         Edit	Delete	137	بيان حركة مدفوعات عميل	 	clinet_reportes	136	0	0
         Edit	Delete	138	بيان حركى مصروفات لمورد	 	clinet_reportes	136	0	0
         Edit	Delete	139	بيان حركة عميل	 	clinet_reportes	127	0	0
         Edit	Delete	140	حالة العملاء
         */
        switch (rtype) {
            case "128":
            case "131":
            case "134":
            case "137":
            case "138":
            case "139":
                showRepClient = true;

                break;

            case "120":

                showRepTreasury = true;

                break;
            case "129":
                showRepClintetCat = true;

                break;
            case "132":
            case "135":

                showRepProduct = true;
                showRepClient = true;
                break;

        }
        updaterepPnales();
    }//GEN-LAST:event_jtr_rep_typeValueChanged

    private void jd_rep_viewActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jd_rep_viewActionPerformed

        /*
        
         -  127	عميل	 	clinet_reportes	0	0	0
         Edit	Delete	128	ملف عميل	 	clinet_reportes	127	0	0
         Edit	Delete	129	تصنيف عميل	 	clinet_reportes	127	0	0
         Edit	Delete	130	مبيعات عميل	 	clinet_reportes	0	0	0
         Edit	Delete	131	مبيعات لعميل عن  فترة	 	clinet_reportes	130	0	0
         -	Edit	Delete	132	مبيعات صنف لعميل	 	clinet_reportes	130	0	0
         Edit	Delete	133	مشتريات من مورد	 	clinet_reportes	0	0	0
         Edit	Delete	134	مشتريات مورد عن فترة	 	clinet_reportes	133	0	0
         Edit	Delete	135	مشتريات مورد  لصنف	 	clinet_reportes	133	0	0
         Edit	Delete	136	الخزينة	 	clinet_reportes	0	0	0
         Edit	Delete	137	بيان حركة مدفوعات عميل	 	clinet_reportes	136	0	0
         Edit	Delete	138	بيان حركى مصروفات لمورد	 	clinet_reportes	136	0	0
         Edit	Delete	139	بيان حركة عميل	 	clinet_reportes	127	0	0
         Edit	Delete	140	حالة العملاء
        
        
        
         */
        ac.engin.moves.sell s = new ac.engin.moves.sell();
        ac.engin.moves.newbay b = new ac.engin.moves.newbay();
        ac.engin.treasury.treasuryIn in = new ac.engin.treasury.treasuryIn();
        ac.engin.treasury.treasuryOut o = new ac.engin.treasury.treasuryOut();

        String rtype = jtr_rep_type.getValue();
        //String where = "";
        switch (rtype) {
            case "128":

                c.reportesClinteFile(jcom_client.getValue());
                break;
            case "131":

                s.reportViewForClinte(jcom_client.getValue(), jd_rep_from.getDate(), jd_rep_to.getDate());
                break;
            case "132":

                s.reportViewForPorduectClinte(jcom_produest.getValue(), jcom_client.getValue(), jd_rep_from.getDate(), jd_rep_to.getDate());
                break;
            case "134":

                b.reportViewForClinte(jcom_client.getValue(), jd_rep_from.getDate(), jd_rep_to.getDate());
                break;
            case "135":

                b.reportViewForPorduectClinte(jcom_produest.getValue(), jcom_client.getValue(), jd_rep_from.getDate(), jd_rep_to.getDate());
                break;
            case "129":

                c.reportesClinteStatus(jcom_category1.getValue(), "s");

                break;
            case "137":

                in.reportViewForClinte(jcom_client.getValue(), jd_rep_from.getDate(), jd_rep_to.getDate());
                break;
            case "138":

                o.reportViewForClinte(jcom_client.getValue(), jd_rep_from.getDate(), jd_rep_to.getDate());

                break;
            case "121":

                break;

            case "122":

                break;
            case "126":

                break;

        }
    }//GEN-LAST:event_jd_rep_viewActionPerformed

    private void jcom_clientActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcom_clientActionPerformed

    }//GEN-LAST:event_jcom_clientActionPerformed

    private void jcom_treasuryActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcom_treasuryActionPerformed


    }//GEN-LAST:event_jcom_treasuryActionPerformed

    private void jcom_category1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcom_category1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jcom_category1ActionPerformed

    private void jlb_blanceMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jlb_blanceMouseClicked

        updateBalenc b = new updateBalenc("s", "" + c.IndexID);
        b.setVisible(true);
    }//GEN-LAST:event_jlb_blanceMouseClicked

    private void jsp_BalanceLimitStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jsp_BalanceLimitStateChanged
        // TODO add your handling code here:
    }//GEN-LAST:event_jsp_BalanceLimitStateChanged

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private ac.ui.controls.PCLPanel data_panel;
    private ac.ui.controls.PCLPanel index_panel;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane12;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JScrollPane jScrollPane5;
    private javax.swing.JScrollPane jScrollPane8;
    private ac.ui.controls.PCLButton jbt_add;
    private ac.ui.controls.PCLButton jbt_cancel;
    private ac.ui.controls.PCLButton jbt_delete;
    private ac.ui.controls.PCLButton jbt_delete1;
    private ac.ui.controls.PCLButton jbt_delete2;
    private ac.ui.controls.PCLButton jbt_edit;
    private ac.ui.controls.PCLButton jbt_edit1;
    private ac.ui.controls.PCLButton jbt_edit2;
    private ac.ui.controls.PCLButton jbt_frist;
    private ac.ui.controls.PCLButton jbt_last;
    private ac.ui.controls.PCLButton jbt_next;
    private ac.ui.controls.PCLButton jbt_prev;
    private ac.ui.controls.PCLButton jbt_print;
    private ac.ui.controls.PCLButton jbt_print1;
    private ac.ui.controls.PCLButton jbt_print2;
    private ac.ui.controls.PCLButton jbt_print3;
    private ac.ui.controls.PCLcomboboxAdd jcom_baypricType;
    private ac.ui.controls.PCLGetdata jcom_category;
    private ac.ui.controls.PCLGetdata jcom_category1;
    private ac.ui.controls.PCLGetdata jcom_client;
    private ac.ui.controls.PCLGetdata jcom_produest;
    private ac.ui.controls.PCLcomboBox jcom_search;
    private ac.ui.controls.PCLcomboboxAdd jcom_sellPricType;
    private ac.ui.controls.PCLGetdataFull jcom_treasury;
    private ac.ui.controls.PCLDate jd_rep_from;
    private ac.ui.controls.PCLDate jd_rep_to;
    private ac.ui.controls.PCLButton jd_rep_view;
    private ac.ui.controls.PCLLabel jlb_blance;
    private ac.ui.controls.PCLLabel jlb_indexinfo;
    private ac.ui.controls.PCLLabel jlb_repTitle;
    private javax.swing.JLabel jlb_type;
    private ac.ui.controls.PCLPanel jp_retportNamesClient;
    private ac.ui.controls.PCLPanel jp_retportNamesproduct;
    private ac.ui.controls.PCLPanel jp_retportNamesproductCat;
    private ac.ui.controls.PCLPanel jp_retportNamestreasury;
    private ac.ui.controls.PCLPanel jp_retportTaype;
    private ac.ui.controls.PCLPanel jp_retportcon;
    private javax.swing.JRadioButton jr_cus;
    private javax.swing.JRadioButton jr_cus_sup;
    private javax.swing.ButtonGroup jrg_clinet_type;
    private ac.ui.controls.PCLMoney jsp_BalanceLimit;
    private ac.ui.controls.PCLTextarea jta_addrss;
    private ac.ui.controls.PCLTabs jtab_data;
    private ac.ui.controls.PCLTable jtab_indexDelete1;
    private ac.ui.controls.PCLTable jtb_index;
    private ac.ui.controls.PCLTable jtb_search;
    private ac.ui.controls.PCLTree jtr_index;
    private ac.ui.controls.PCLTree jtr_rep_type;
    private ac.ui.controls.PCLTree jtr_search;
    private ac.ui.controls.PCLCode jtxt_code;
    private ac.ui.controls.PCLTextField jtxt_email;
    private ac.ui.controls.PCLTextField jtxt_fax;
    private ac.ui.controls.PCLTextField jtxt_mobile;
    private ac.ui.controls.PCLTextField jtxt_name;
    private ac.ui.controls.PCLTextField jtxt_phone;
    private ac.ui.controls.PCLTextField jtxt_search;
    private ac.ui.controls.PCLButton pCLButton1;
    private ac.ui.controls.PCLLabel pCLLabel1;
    private ac.ui.controls.PCLLabel pCLLabel10;
    private ac.ui.controls.PCLLabel pCLLabel11;
    private ac.ui.controls.PCLLabel pCLLabel12;
    private ac.ui.controls.PCLLabel pCLLabel13;
    private ac.ui.controls.PCLLabel pCLLabel14;
    private ac.ui.controls.PCLLabel pCLLabel15;
    private ac.ui.controls.PCLLabel pCLLabel16;
    private ac.ui.controls.PCLLabel pCLLabel17;
    private ac.ui.controls.PCLLabel pCLLabel18;
    private ac.ui.controls.PCLLabel pCLLabel19;
    private ac.ui.controls.PCLLabel pCLLabel2;
    private ac.ui.controls.PCLLabel pCLLabel20;
    private ac.ui.controls.PCLLabel pCLLabel21;
    private ac.ui.controls.PCLLabel pCLLabel22;
    private ac.ui.controls.PCLLabel pCLLabel24;
    private ac.ui.controls.PCLLabel pCLLabel5;
    private ac.ui.controls.PCLLabel pCLLabel6;
    private ac.ui.controls.PCLLabel pCLLabel7;
    private ac.ui.controls.PCLLabel pCLLabel8;
    private ac.ui.controls.PCLLabel pCLLabel9;
    private ac.ui.controls.PCLPanel pCLPanel1;
    private ac.ui.controls.PCLPanel pCLPanel2;
    private ac.ui.controls.PCLPanel pCLPanel4;
    private ac.ui.controls.PCLPanel pCLPanel5;
    private ac.ui.controls.PCLPanel pCLPanel6;
    private ac.ui.controls.PCLTabs pCLTabs1;
    private ac.ui.controls.PCLToolbar pCLToolbar1;
    private ac.ui.controls.PCLToolbar pCLToolbar2;
    private ac.ui.controls.PCLToolbar pCLToolbar8;
    private ac.ui.controls.PCLToolbar pCLToolbar9;
    // End of variables declaration//GEN-END:variables
}
